package com.woniuxy.his.mapper;

import org.apache.ibatis.annotations.Param;

import com.woniuxy.his.entity.User;

public interface UserMapper {
	
   //添加用户  
   void addUser(UserMapper user);  
   //根据用户名和密码查询用户  
   //注解的两个参数会自动封装成map集合，括号内即为键  
   User findUserByNameAndPassword(@Param("username")String username, @Param("password")String password);  

}
